#ifndef NUMBER_H_
#define NUMBER_H_

class Outputer;

/*
 * Number is the context class
 * which use the composite pattern
 * to store the base pointer of Strategy
 * which is "Outputer* m_pOutputer".
 */
class Number
{
public:
	Number(void);
	~Number(void);

public:
	int getValue();
	void setValue(int);

	void setOutputer(Outputer*);
	void output();

private:
	int m_num;
	Outputer* m_pOutputer;
};

#endif // NUMBER_H_

